import { useState } from 'react'
import './App.scss'

import Upload from './components/upload'


function App() {
  let [count, setCount] = useState(0)

  return (
    <>
      <Upload data={{ count: count }}></Upload>
      <span onMouseDownCapture={() => { let c = count + 1; setCount(c) }}>{count}</span>
    </>
  )
}


export default App
